package com.jshop.config;

import com.jfinal.config.Routes;
import com.jshop.controller.admin.AdminController;
import com.jshop.controller.admin.BrandController;
import com.jshop.controller.admin.CategoryController;
import com.jshop.controller.admin.MenuController;
import com.jshop.controller.admin.ProductController;
import com.jshop.controller.admin.RuleController;
public class RouteConfig {
	public static void mapping(Routes me){
		me.add("/admin", AdminController.class);
		me.add("/admin/menu", MenuController.class);
		me.add("/admin/category", CategoryController.class);
		me.add("/admin/brand",BrandController.class);
		me.add("/admin/rule",RuleController.class);
		me.add("/admin/product",ProductController.class);
	}
}
